class Notifier < ActionMailer::Base

  default :from => "elja1989@gmail.com"

  def password_reset_instructions(user)
    @user = user
    mail(:to => "#{user.name} <#{user.email}>", :subject => "Password Reset Instructions")
  end

  def activation_instructions(user)
    @user = user
    mail(:to => "#{user.name} <#{user.email}>", :subject => "Activation Instructions")
  end

  def activation_confirmation(user)
    @user = user
    mail(:to => "#{user.name} <#{user.email}>", :subject => "Activation Confirmation")
  end

end
